package org.example.bookshelf_manager.service;

import org.example.bookshelf_manager.mapper.UserInfoMapper;
import org.example.bookshelf_manager.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName UserInfoService
 * @Description
 * @Author ZJX
 * @Date 2024/8/27 12:50
 * @Version 1.0
 */
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public UserInfo getUserInfoByName(String username){
        return userInfoMapper.getUserInfoByName(username);
    }
}
